import request from '@/utils/request'
//授课计划接口
export function eduLessonPlanQuery(data) {
  return request({
    method: 'get',
    url: '/eduLessonPlan/query',
    params: data,
  })
}

export function eduLessonPlanQueryById(id) {
  return request({
    method: 'get',
    url: '/eduLessonPlan/query/' + id,
  })
}

export function eduLessonPlanAdd(data) {
  return request({
    method: 'post',
    url: '/eduLessonPlan/add',
    data,
  })
}

export function eduLessonPlanDelete(id) {
  return request({
    method: 'get',
    url: '/eduLessonPlan/delete/' + id,
  })
}

export function eduLessonPlanUpdate(data) {
  return request({
    method: 'post',
    url: '/eduLessonPlan/update',
    data,
  })
}
